package com.zk.nacosprovider.Entity;

import java.io.Serializable;

public class experimentWithBLOBs extends experiment implements Serializable {
    private String evaluatehtml;

    private String experimentexplain;

    private static final long serialVersionUID = 1L;

    public String getEvaluatehtml() {
        return evaluatehtml;
    }

    public void setEvaluatehtml(String evaluatehtml) {
        this.evaluatehtml = evaluatehtml == null ? null : evaluatehtml.trim();
    }

    public String getExperimentexplain() {
        return experimentexplain;
    }

    public void setExperimentexplain(String experimentexplain) {
        this.experimentexplain = experimentexplain == null ? null : experimentexplain.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        experimentWithBLOBs other = (experimentWithBLOBs) that;
        return (this.getExperimentid() == null ? other.getExperimentid() == null : this.getExperimentid().equals(other.getExperimentid()))
            && (this.getExperimentname() == null ? other.getExperimentname() == null : this.getExperimentname().equals(other.getExperimentname()))
            && (this.getExperimentmen() == null ? other.getExperimentmen() == null : this.getExperimentmen().equals(other.getExperimentmen()))
            && (this.getProcurator() == null ? other.getProcurator() == null : this.getProcurator().equals(other.getProcurator()))
            && (this.getFileaddress() == null ? other.getFileaddress() == null : this.getFileaddress().equals(other.getFileaddress()))
            && (this.getExperimentstage() == null ? other.getExperimentstage() == null : this.getExperimentstage().equals(other.getExperimentstage()))
            && (this.getFalsedeletion() == null ? other.getFalsedeletion() == null : this.getFalsedeletion().equals(other.getFalsedeletion()))
            && (this.getEvaluatehtml() == null ? other.getEvaluatehtml() == null : this.getEvaluatehtml().equals(other.getEvaluatehtml()))
            && (this.getExperimentexplain() == null ? other.getExperimentexplain() == null : this.getExperimentexplain().equals(other.getExperimentexplain()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getExperimentid() == null) ? 0 : getExperimentid().hashCode());
        result = prime * result + ((getExperimentname() == null) ? 0 : getExperimentname().hashCode());
        result = prime * result + ((getExperimentmen() == null) ? 0 : getExperimentmen().hashCode());
        result = prime * result + ((getProcurator() == null) ? 0 : getProcurator().hashCode());
        result = prime * result + ((getFileaddress() == null) ? 0 : getFileaddress().hashCode());
        result = prime * result + ((getExperimentstage() == null) ? 0 : getExperimentstage().hashCode());
        result = prime * result + ((getFalsedeletion() == null) ? 0 : getFalsedeletion().hashCode());
        result = prime * result + ((getEvaluatehtml() == null) ? 0 : getEvaluatehtml().hashCode());
        result = prime * result + ((getExperimentexplain() == null) ? 0 : getExperimentexplain().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", evaluatehtml=").append(evaluatehtml);
        sb.append(", experimentexplain=").append(experimentexplain);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}